<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/10/19
  Time: 15:38
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>展示颜色</title>
</head>
<%
    String[] colors = {"green","blue","black","red","yellow","pink"};

%>
<body>
    <%for (int i=0;i<colors.length;i++){%>
    <hr style="border: 10px solid <%=colors[i]%>"></hr>
    <%}%>
</body>
</html>
